package com.wx.chapter8.homework05;

/**
 * ClassName:HomeWork05
 * Package :com.wx.chapter8.homework05
 * Description :
 *
 * @Author : coder_mu
 * @Create : 2023/5/29 - 16:30
 */
public class HomeWork05 {
    public static void main(String[] args) {
        Worker jay = new Worker("jay", 10, 12);
        jay.printSal();

        Teacher tim = new Teacher("tim", 10, 12, 10, 10);
        tim.printSal();

        Scientist hack = new Scientist("hack", 10, 10, 10);
        hack.printSal();
    }
}
